﻿namespace SelfService.XiaoEn.Models
{
    public class QrCodePayValidate
    {
        /// <summary>
        /// 收款账户
        /// </summary>
        public string Flag { get; set; } = "MZ";

        /// <summary>
        /// 外部订单号
        /// </summary>
        public string OutTradeNo { get; set; }

        /// <summary>
        /// 商品描述, 请遵守规则: 店铺名称-项目名称
        /// 示例: 济源市人民医院-门诊收费
        /// </summary>
        public string Body { get; set; }

        /// <summary>
        /// 商品标题
        /// </summary>
        public string Subject { get; set; }

        /// <summary>
        /// 金额 1元=100
        /// </summary>
        public int TotalFee { get; set; }

        /// <summary>
        /// 支付方式
        /// </summary>
        public PaymentMethodEnum PaymentMethod { get; set; }

        /// <summary>
        /// 操作员编码
        /// </summary>
        public string OperatorId { get; set; }


        /// <summary>
        /// 操作员名称
        /// </summary>
        public string OperatorName { get; set; }
    }

    public enum PaymentMethodEnum
    {
        Wechat,
        Alipay
    }
}
